package com.xr.feignApi.student;

import com.xr.common.axios.AxiosResult;
import com.xr.feignApi.student.fallback.StudentFeignApiFallback;
import com.xr.system.model.student.dto.StudentDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "service-student", fallback = StudentFeignApiFallback.class)
public interface StudentFeignApi {

    @GetMapping("/api/v1/student/selectList")
    AxiosResult selectList(@RequestParam(value = "studentDto", required = false) StudentDto studentDto);

}
